package com.example.superoa.controller;

import java.util.Date;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.example.superoa.common.Shijian;
import com.example.superoa.model.service.LeaveClassService;
import com.example.superoa.model.service.LeaveService;
import com.example.superoa.model.service.TrainService;

@Controller
public class MainController {
	@Autowired
	private LeaveClassService lc_biz;
	@Autowired
	private TrainService ts;
	
	@Autowired
	private LeaveService l_biz;
	
	
	private Shijian sj=new Shijian();
	
	@RequestMapping("mysalary")
	public void my() {
		
	}
	@RequestMapping("salary-add")
	public void add() {
		
	}
	@RequestMapping("salary-addemp")
	public void emp() {
		
	}
	@RequestMapping("salary-baobiao")
	public void baobiao() {
		
	}
	@RequestMapping("salary-emp")
	public void emps() {
		
	}
	@RequestMapping("salary-hs")
	public void hs() {
		
	}
	@RequestMapping("salary-kaoqing")
	public void kaoqing() {
		
	}
	@RequestMapping("salary-menu")
	public void menu() {
		
	}
	@RequestMapping("train-add")
	public void adds() {
		
	}
	@RequestMapping("train-appli")
	public void appli() {
		
	}
	@RequestMapping("train-course")
	public void course() {
		
	}
	@RequestMapping("train-courseku")
	public void ku(Model model) {
		model.addAttribute("courseku", ts.findCourseku());
	}
	@RequestMapping("train-notice")
	public void notice() {
		
	}
	@RequestMapping("train-teacher")
	public void teach() {
		
	}
	@RequestMapping("train-actstaff")
	public void actstaff() {
		
	}
}
